﻿using System.Collections.Generic;
using Kratos.Framework.ContentManagement.Models.SystemRights;

namespace Kratos.Framework.Modules.Core.Services
{
    public interface IMenuPermissionService
    {
        IEnumerable<MenuPermission> GetMenu(int parentId);
        MenuPermission GetMenuById(int id);
        void Update(MenuPermission menu);
        void Save(MenuPermission menu);
        void Delete(MenuPermission menu);
        IEnumerable<MenuPermission> GetMenusByLevel(int level);
    }
}
